-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#27] feat(core): add config system #29
Conversation
@xunliu please help to review when you have time, thanks a lot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to add a unit test case that passes the config file?
Maybe in the next PR?
Let me think about how to add a such unit test. |
@xunliu I added a new test to cover loading from file, please review again, thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
What changes were proposed in this pull request?
This PR introduces a Spark-style like strong typed config system for the project.
Why are the changes needed?
The config system is a cornerstone of the project. By comparing different config system implementations, Spark's one is strong type verified, and also can extend to other functions, so introducing a Spark-style like config system for the project.
Fix: #27
Does this PR introduce any user-facing change?
N/A
How was this patch tested?
Add new UTs to cover the test